package com.swordxu.yim.server.packet;

import java.io.Serializable;

/**
 * 消息协议对象
 * Created by user063 on 2014/12/25.
 */
public class Message implements Serializable{
    private static final long serialVersionUID = 1L;

    private String mid;         //消息id
    private String type;        //消息类别
    private String content;     //消息内容
    private String sender;      //消息发送者
    private String receiver;    //消息接收者
    private long timestamp;     //消息时间

    public String getSkey() {
        return skey;
    }

    public void setSkey(String skey) {
        this.skey = skey;
    }

    private String skey;        //会话key

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }


}
